﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using OnlineStore.Bll;
using OnlineStore.Dal;

namespace OnlineStore.Gui
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DalProduct _DalProduct = new DalProduct();
            mainlist.DataSource = _DalProduct.Search();
            mainlist.DataBind();
            Outstanding.DataSource = _DalProduct.Outstanding();
            Outstanding.DataBind();
        }
    }
}